﻿<UserControl x:Class="FM.录音.Views.选项视图"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             xmlns:viewModels="clr-namespace:FM.录音.ViewModels"
             d:DataContext="{d:DesignInstance Type={x:Type viewModels:选项视图ViewModel}}"
             d:DesignHeight="400"
             d:DesignWidth="400"
             mc:Ignorable="d">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="2*" />
            <ColumnDefinition Width="6*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="30" />
            <RowDefinition Height="*" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock Grid.Row="0"
                   Grid.Column="0"
                   Margin="0,7"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Text="录音声卡:"
                   TextWrapping="Wrap" />
        <TextBlock Grid.Row="1"
                   Grid.Column="0"
                   Margin="0,7"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Text="播放声卡:"
                   TextWrapping="Wrap" />
        <TextBlock Grid.Row="2"
                   Grid.Column="0"
                   Margin="0,7"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Text="录音格式:"
                   TextWrapping="Wrap" />
        <TextBlock Grid.Row="3"
                   Grid.Column="0"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Text="比特率:"
                   TextWrapping="Wrap" />
        <TextBlock Grid.Row="4"
                   Grid.Column="0"
                   HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Text="采样率:"
                   TextWrapping="Wrap" />
        <StackPanel Grid.Row="8"
                    Grid.Column="1"
                    Margin="0,0,10,10"
                    HorizontalAlignment="Right"
                    VerticalAlignment="Bottom"
                    Orientation="Horizontal">
            <telerik:RadButton Width="75"
                               Height="25"
                               Margin="10,0"
                               HorizontalAlignment="Left"
                               VerticalAlignment="Top"
                               Command="{Binding 确定Command}"
                               Content="确定"
                               IsDefault="True" />
            <telerik:RadButton Width="75"
                               Height="25"
                               Margin="10,0"
                               HorizontalAlignment="Left"
                               VerticalAlignment="Top"
                               Command="{Binding 取消Command}"
                               Content="取消"
                               IsCancel="True" />


        </StackPanel>
    </Grid>
</UserControl>
